"""
 -*- coding: utf-8 -*-
 @Time : 2023/11/21 15:18
 @Author : 支晓光
 @Email : 1473858993@qq.com
 @File : appium_driver.py
 @Project : youguuUI
 """
from appium import webdriver


class AppiumDiriver:
    def __init__(self):
        capabilities = {
<<<<<<< HEAD
          "platformName": "Android",
          "appium:automationName": "uiautomator2",
          "appium:deviceName": "127.0.0.1:62001",
          "appium:appPackage": "com.jhss.youguu",
          "appium:appActivity": ".SplashActivity"
        }
        self.driver = webdriver.Remote('http://localhost:4723',capabilities)
        self.driver.implicitly_wait(10)
driver = AppiumDiriver().driver
=======
            "platformName": "Android",
            "appium:automationName": "uiautomator2",
            "appium:deviceName": "127.0.0.1:62001",
            "appium:appPackage": "com.jhss.youguu",
            "appium:appActivity": ".SplashActivity"
        }
        self.driver = webdriver.Remote('http://localhost:4723', capabilities)
        self.driver.implicitly_wait(10)



driver = AppiumDiriver().driver
>>>>>>> zjw
